package com.book.business.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.book.business.entity.BookIndent;
import com.book.common.entity.QueryRequest;

import java.util.List;

/**
 * @Author: 盛佳帅
 * @Description:  20173953
 */

public interface BookIndentService extends IService<BookIndent> {
    /**
     * @Description:查所有
     */
    List<BookIndent> findBookIndent(BookIndent bookIndent);

    /**
     * @Description:分页
     */
    IPage<BookIndent> pageBookIndent(QueryRequest request, BookIndent bookIndent);

    /**
     * @Description:新增
     */
    void addBookIndent(BookIndent bookIndent);

    /**
     * @Description:修改
     */
    void updateBookIndent(BookIndent bookIndent);

    /**
     * @Description:复选查询
     */
    List<BookIndent> deleteBookIndent(String[] bookIndent);

    /**
     * @Description:按书籍数量排序
     */
    List<BookIndent> bookIndentSort(String pubid);
}
